package com.ngocvo.QuanLyThuChi;

import java.util.Date;

public class CashFlow {
	private long _id;
	private int _Amount;
	private String _Name;
	private int _FlowType;
	private short _Status; /* 0:chưa trả; 1:đã trả*/
	private Date _CreateDate;
	private Date _ModifiedDate;
	private Date _FlowDate;
	private Date _FlowBackDate;
    
	public CashFlow(){
	}	
	
	public CashFlow(long id, int Amount, String Name, int flowType, short Status, 
			Date CreateDate, Date ModifiedDate, Date FlowDate){		
		_id = id;
		_Amount = Amount;
		_Name = Name;
		_FlowType = flowType;
		_Status = Status;
		_CreateDate = CreateDate;
		_ModifiedDate = ModifiedDate;
		_FlowDate = FlowDate;
	}
	
	public CashFlow(long id, int Amount, String Name, int flowType, short Status, 
			Date CreateDate, Date ModifiedDate, Date FlowDate, Date FlowBackDate){
		_id = id;
		_Amount = Amount;
		_Name = Name;
		_FlowType = flowType;
		_Status = Status;
		_CreateDate = CreateDate;
		_ModifiedDate = ModifiedDate;
		_FlowDate = FlowDate;
		_FlowBackDate = FlowBackDate;
	}
	
	public void setId(long id){
		_id = id;
	}
	
	public void setName(String Name){
		_Name = Name;
	}
	
	public void setAmount(int Amount){
		_Amount = Amount;
	}
	
	public void setFlowType(int type){
		_FlowType = type;
	}
	
	public void setStatus(short status){
		_Status = status;
	}
	
	public void setCreateDate(Date CreateDate){
		_CreateDate = CreateDate;
	}
	
	public void setModifiedDate(Date ModifiedDate){
		_ModifiedDate = ModifiedDate;
	}
	
	public void setFlowDate(Date FlowDate){
		_FlowDate = FlowDate;
	}
	
	public void setFlowBackDate(Date FlowBackDate){
		_FlowBackDate = FlowBackDate;
	}
	
	public long getId(){
		return _id;
	}
	
	public String getName(){
		return _Name;
	}
	
	public int getAmount(){
		return _Amount;
	}
	
	public Date getCreateDate(){
		return _CreateDate;
	}
	
	public Date getModifiedDate(){
		return _ModifiedDate;
	}
	
	public int getFlowType(){
		return _FlowType;
	}
	
	public short getStatus(){
		return _Status;
	}
	
	public Date getFlowDate(){
		return _FlowDate;
	}

	public Date getFlowBackDate(){
		return _FlowBackDate;
	}
}